package my.edu.model.User.service;

import com.baomidou.mybatisplus.extension.service.IService;
import my.edu.model.User.entity.RolePermission;
import my.edu.model.User.entity.dto.PermissionDTO;
import my.edu.model.User.entity.dto.RoleDTO;

import java.util.List;

public interface IRolePermissionService extends IService<RolePermission> {

    void removeByRoleId(Long roleId);


    void saveBatchByRoleIAndName(Long roleId, List<String> permissionNameList);

    void saveBatchByRoleIAndPermissionId(Long id, List<PermissionDTO> dtoPermissionList);
}
